package de.koller.million.render2D.szene;

import de.koller.million.render2D.obj.Building;
import de.koller.oceanFramework.tree.Sea3X;
import java.util.Random;

public class Scene extends Sea3X {

	private final static Random rnd = new Random();
	
	@Override
	protected void init() {
		super.init();
		
		for( int i = 30; i < 1280; i += 60 ) {
			int h = rnd.nextInt( 300 ) + 50;
			Building b = new Building( i, 720 - h/2, 50, h );
			this.addChild( b );
		}
		
	}
	
}
